<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>goeasy-demo</title>

    <script type="text/javascript" src="https://cdn.goeasy.io/goeasy.js"></script>
    <script src="http://apps.bdimg.com/libs/jquery/1.7.0/jquery.min.js"></script>
    <script type="text/javascript">
        $(function(){
            var goEasy = new GoEasy({
                appkey: 'BC-c0b4462193fb40fd9911dc9db1df468b'
            });

            //发送消息
            goEasy.publish({
                channel: 'demo_channel',
                message: 'Hello world!'
            });
        });
    </script>


</head>
<body>
goeasy - send
</body>
</html>